package com.lucky.blog.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 文章内容
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-09-22 13:16:10
 */
@Data
public class ContentDO implements Serializable {
	private static final long serialVersionUID = -5477212098693130588L;
	
	//
	private Long cid;
	//标题
	private String title;
	//标题
	private String description;
	//内容
	private String content;
	//图片
	private String images;
	//类型
	private Integer type;
	//标签
	private String tags;
	//分类
	private Integer categories;
	//点击量
	private Integer hits;
	//评论数量
	private Integer commentsNum;
	//开启评论
	private Integer allowComment;
	//允许ping
	private Integer allowPing;
	//允许反馈
	private Integer allowFeed;
	//状态
	private Integer status;
	//作者
	private String author;
	//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date gtmCreate;
	//修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date gtmModified;
}
